package month4.day15;

public class S5 {
    public static void main(String[] args) {
        String s1 = "qazmlp;'!@#$";
        byte[] s1Bytes = s1.getBytes();
        System.out.println("输出字节数组:");
        for (int i = 0;i < s1Bytes.length;i++)
            System.out.print(s1Bytes[i] + "\t");
        char[] charArray = s1.toCharArray();
        System.out.println("\n输出字节数组:");
        for (int i = 0;i < charArray.length;i++){
            System.out.print(charArray[i] + "\t");
        }

    }
}
